<template>
  <v-chart class="zkt-tx" v-for="it in chartOptions" :option="it" autoresize></v-chart>
</template>
<script lang="ts" setup>
import VChart from 'vue-echarts'
import { txProps } from './prop'
import { use } from './use'
const props = defineProps(txProps)
defineOptions({
  name: 'zkt-tx'
})
const { chartOptions } = use(props)
</script>
<style lang="scss">
.zkt-tx {
  height: 4rem;
  margin: 0.1rem 0;
}
</style>
